package org.genntii.smdomain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@TableName("Steam_User_Store")
@NoArgsConstructor
@AllArgsConstructor
public class SteamUserStore {
    @TableId(type = IdType.AUTO)
    private Long id;
    @JsonProperty("appid")
    private Integer appid;
    @TableField("steamid")
    private Long steamid;
    @JsonProperty("name")
    private String appName;
    @TableField("playtime_2weeks")
    @JsonProperty("playtime_2weeks")
    private Integer playtime2weeks;
    @JsonProperty("playtime_forever")
    private Integer playtimeForever;
    @JsonProperty("img_icon_url")
    private String imgIconUrl;
    @JsonProperty("has_community_visible_stats")
    private boolean hasCommunityVisibleStats;
    @JsonProperty("has_workshop")
    private boolean hasWorkshop;
    @JsonProperty("has_market")
    private boolean hasMarket;
    @JsonProperty("has_dlc")
    private boolean hasDlc;
    @JsonProperty("has_leaderboards")
    private boolean hasLeaderboards;
    private boolean isDlc;
    private Integer fullGameAppid;
}
